* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
ul,
li {
  list-style: none;
}
input {
  outline: none;
}
a {
  text-decoration: none;
  color: black;
}
@media screen and (min-width: 320px) {
  html {
    font-size: 50px;
  }
  body {
    font-size: 0.4rem;
  }
}
@media screen and (min-width: 360px) {
  html {
    font-size: 56.25px;
  }
  body {
    font-size: 0.35555556rem;
  }
}
@media screen and (min-width: 375px) {
  html {
    font-size: 58.59375px;
  }
  body {
    font-size: 0.34133333rem;
  }
}
@media screen and (min-width: 411px) {
  html {
    font-size: 64.21875px;
  }
  body {
    font-size: 0.31143552rem;
  }
}
@media screen and (min-width: 414px) {
  html {
    font-size: 64.6875px;
  }
  body {
    font-size: 0.30917874rem;
  }
}
@media screen and (min-width: 520px) {
  html {
    font-size: 81.25px;
  }
  body {
    font-size: 0.24615385rem;
  }
}
@media screen and (min-width: 640px) {
  html {
    font-size: 100px;
  }
  body {
    font-size: 0.2rem;
  }
}
@media screen and (min-width: 768px) {
  html {
    font-size: 120px;
  }
  body {
    font-size: 0.16666667rem;
  }
}
@media screen and (min-width: 1024px) {
  html {
    font-size: 160px;
  }
  body {
    font-size: 0.125rem;
  }
}
#s1:checked ~ ul {
  margin-left: 0%;
  transition: margin-left 1s linear;
}
#s1:checked ~ ol > li:nth-child(1) > label {
  background: #f40;
}
#s2:checked ~ ul {
  margin-left: -100%;
  transition: margin-left 1s linear;
}
#s2:checked ~ ol > li:nth-child(2) > label {
  background: #f40;
}
#s3:checked ~ ul {
  margin-left: -200%;
  transition: margin-left 1s linear;
}
#s3:checked ~ ol > li:nth-child(3) > label {
  background: #f40;
}
#s4:checked ~ ul {
  margin-left: -300%;
  transition: margin-left 1s linear;
}
#s4:checked ~ ol > li:nth-child(4) > label {
  background: #f40;
}
#s5:checked ~ ul {
  margin-left: -400%;
  transition: margin-left 1s linear;
}
#s5:checked ~ ol > li:nth-child(5) > label {
  background: #f40;
}
.c1 {
  background-position: 0px 0rem;
}
.c2 {
  background-position: 0px -0.8rem;
}
.c3 {
  background-position: 0px -1.6rem;
}
.c4 {
  background-position: 0px -2.4rem;
}
.c5 {
  background-position: 0px -3.2rem;
}
.c6 {
  background-position: 0px -4rem;
}
.c7 {
  background-position: 0px -4.8rem;
}
.c8 {
  background-position: 0px -5.6rem;
}
header {
  width: 100%;
  height: 0.8rem;
  background-color: #f40;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header h1 {
  display: block;
  font-weight: normal;
  width: 1.5rem;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
header h1 div {
  width: 1.1rem;
  height: 0.34rem;
  background: url("../image/sprites@2x.png") no-repeat;
  background-size: 4rem 4rem;
  background-position: -0.06rem -2.26rem;
}
header .login {
  font-family: 'Ubuntu', 'DFKai-SB', sans-serif;
  width: 1.2rem;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #FFFFFF;
  font-size: 0.3rem;
}
header .search {
  flex: 1;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
header .search icon {
  position: absolute;
  left: 0.2rem;
  width: 0.45rem;
  height: 0.45rem;
  display: block;
  background: url("../image/sprites@2x.png") no-repeat;
  background-size: 4rem 4rem;
  background-position: -1.18rem -2.17rem;
}
header .search input {
  width: 100%;
  height: 0.6rem;
  border: none;
  padding-left: 0.7rem;
  border-radius: 0.3rem;
  font-size: 0.23rem;
}
#banner {
  width: 100%;
}
#banner .banner {
  width: 100%;
  overflow: hidden;
  position: relative;
}
#banner .banner input[type="radio"] {
  display: none;
}
#banner .banner ul {
  width: 500%;
}
#banner .banner ul li {
  width: 20%;
  float: left;
}
#banner .banner ul li a {
  width: 100%;
  display: block;
}
#banner .banner ul li img {
  width: 100%;
  display: block;
}
#banner .banner ol {
  bottom: 0.15rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
#banner .banner ol li {
  margin-right: 0.1rem;
  float: left;
}
#banner .banner ol li label {
  display: block;
  width: 0.15rem;
  height: 0.15rem;
  border-radius: 50%;
  background-color: white;
}
#nav {
  margin-top: 0.01rem;
  width: 100%;
  height: 3.45rem;
  margin-bottom: 0.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
}
#nav ul {
  width: 100%;
  height: 100%;
  padding: 0 5%;
}
#nav ul li {
  width: 100%;
  height: 1.46rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.13rem;
}
#nav ul li a {
  display: block;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#nav ul li a icon {
  width: 0.8rem;
  height: 0.8rem;
  background-image: url("../const/navall.png");
  background-size: 100%;
}
#nav ul li a p {
  margin-top: 0.04rem;
  font-size: 0.26rem;
}
#nav ul > li:nth-child(1) {
  width: 100%;
}
.product {
  background-color: white;
  width: 96%;
  height: 3.37rem;
  margin: 0 auto 0.05rem auto;
  border: 1px solid #9F9F9F;
}
.product .title {
  width: 100%;
  padding: 0 0.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product .title .more {
  margin-top: 0.07rem;
}
.product .title p,
.product .title ul,
.product .title li {
  display: inline-block;
}
.product .title .time > p:nth-child(1) {
  color: #d8505c;
}
.product .title p {
  font-size: 0.24rem;
  padding: 0px 0.05rem;
}
.product .title p::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.5rem;
  background: url("../image/seckill-icon.png") no-repeat;
  background-size: contain;
  position: relative;
  top: 0.1rem;
  left: -0.03rem;
}
.product .title li {
  width: 0.25rem;
  height: 0.35rem;
  background: black;
  color: white;
  text-align: center;
  line-height: 0.35rem;
}
.product .title li:nth-child(3n) {
  background: transparent;
  color: black;
}
.product .prod_item {
  width: 100%;
}
.product .prod_item ul {
  display: flex;
}
.product .prod_item ul li {
  padding: 0.3rem;
  width: 33.33%;
  display: flex;
  flex-wrap: wrap;
}
.product .prod_item ul li img {
  width: 100%;
}
.product .prod_item ul li p,
.product .prod_item ul li del {
  width: 100%;
  text-align: center;
}
.product .prod_item ul li del {
  color: #d8505c;
}
.product2 {
  width: 96%;
  height: 4.17rem;
  border: 1px solid black;
  background-color: white;
  margin: 10px auto 0.05rem auto;
  border: 1px solid #9F9F9F;
}
.product2 p {
  padding: 0.1rem 0.3rem;
  border-bottom: 1px solid #9D9D9D;
}
.product2 p::before {
  content: "";
  display: block;
  width: 0.1rem;
  height: 0.4rem;
  left: 10px;
  background: red;
  position: absolute;
}
.product2 .p_left:nth-child(2) {
  width: 100%;
  height: 3.6rem;
}
.product2 .p_left:nth-child(2) ul {
  width: 100%;
  height: 100%;
  display: flex;
}
.product2 .p_left:nth-child(2) ul li {
  width: 50%;
  height: 100%;
  border: 1px solid #9D9D9D;
}
.product2 .p_left:nth-child(2) ul img {
  width: 100%;
  height: 100%;
  display: block;
}
.product2 .p_left:nth-child(2) ul li:nth-child(2) {
  width: 50%;
  height: 48%;
  border: 1px solid #9D9D9D;
}
.product2 .p_left:nth-child(2) ul li:nth-child(2) img:nth-child(2) {
  display: block;
  margin-top: 0.2rem;
}
body {
  width: 100%;
  height: 100%;
  background-color: #f5f5f5;
}
@media screen and (min-width: 1025px) {
  html {
    font-size: 100px;
    height: 100%;
    background-color: #e6e6e661;
  }
  body {
    width: 640px;
    height: 100%;
    margin: 0 auto;
    box-shadow: 1px 1px 8px  #45454569;
    background-color: white;
  }
}
@media screen and (max-width: 319px) {
  html {
    font-size: 45px;
    height: 100%;
    background-color: #e6e6e661;
  }
  body {
    width: 100%;
    height: 100%;
  }
  #head h1 {
    width: 0rem !important;
    height: 0px;
  }
  #head h1 div {
    width: 0rem;
    background-image: none;
  }
  #head .login,
  #head .logo {
    display: none;
  }
  #head .search {
    width: 100%;
    height: 100%;
  }
  #banner ul li {
    height: 100px !important;
  }
}
